From 295cf25d6b49782ecf1d6fafb2ca24f55421c218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Thu, 18 Nov 2010 18:55:25 +0100 Subject: [PATCH] docs: Refer to gtk_paint_*() instead draw_*() vfuncs in the migration guide --- .../gtk/migrating-GtkStyleContext.xml | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/reference/gtk/migrating-GtkStyleContext.xml b/docs/reference/gtk/migrating-GtkStyleContext.xml index e0a200e6cf..886343d4e8 100644 --- a/docs/reference/gtk/migrating-GtkStyleContext.xml +++ b/docs/reference/gtk/migrating-GtkStyleContext.xml @@ -41,20 +41,18 @@ - All variations of draw_box(), draw_flat_box(), - draw_shadow(), draw_box_gap() and - draw_shadow_gap() become replaced by render_background(), - render_frame() and render_frame_gap(), where - the first would render frameless backgrounds and the last two would render all frame - variants. + All variations of gtk_paint_box(), gtk_paint_flat_box(), + gtk_paint_shadow(), gtk_paint_box_gap() and + gtk_paint_shadow_gap() become replaced by gtk_render_background(), + gtk_render_frame() and gtk_render_frame_gap(), where the first would render frameless + backgrounds and the last two would render all frame variants. - draw_resize_grip() disappears in favor of - render_handle() with a #GTK_STYLE_CLASS_GRIP class set in the - style context. + gtk_paint_resize_grip() disappears in favor of gtk_render_handle() + with a #GTK_STYLE_CLASS_GRIP class set in the style context. - draw_spinner() disappears in favor of render_activity() + gtk_paint_spinner() disappears in favor of gtk_render_activity() with a #GTK_STYLE_CLASS_SPINNER class set in the style context. @@ -541,4 +539,4 @@ - \ No newline at end of file + -- 2.30.2